import { Text, View } from "@tarojs/components";
import ByIcon from "./ByIcon";
import "./BySpin.less";

export default ({ className }: { className?: string }) => {
  return (
    <View className={`my-2 text-center ${className}`}>
      <ByIcon name="Spin" className="loading" />
      <Text className="pl-1 text-second text-sm">正在加载</Text>
    </View>
  );
};
